package com.cfl.ticketmodule.dao;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.cfl.model.City;

public interface CityMapper {
    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer id);
    
    City selectByCid(String cid);
    
    City selectByName(@Param("name")String name);
    
    ArrayList<City> selectByAll();
}